Skip to content

feat(acp): display session context usage#835

Merged
GCWing merged 2 commits into
GCWing:mainfrom
wgqqqqq:feat/acp-context-usage
May 22, 2026
Merged

feat(acp): display session context usage#835
GCWing merged 2 commits into
GCWing:mainfrom
wgqqqqq:feat/acp-context-usage

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented May 22, 2026

Summary

  • Parse ACP UsageUpdate events and cache ACP session context usage separately from token usage reports
  • Emit ACP context usage updates to the frontend and display usage percentage in the ACP model selector
  • Add coverage for ACP context usage DTO/store handling and fix the UserMessageItem test mock for FlowChatStore

Verification

  • cargo test -p bitfun-acp
  • cargo check -p bitfun-desktop
  • pnpm run lint:web
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run

@GCWing GCWing merged commit e2a5fdb into GCWing:main May 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants